#include "aboutdialog.h"
#include "ui_aboutdialog.h"
#include "app.h"

AboutDialog::AboutDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::AboutDialog)
{
    ui->setupUi(this);
    this->setWindowTitle(u8"程序版本");

    QString tmp = QString("Version:  %1").arg(APP_VERSION);
    ui->versionLbl->setText(tmp);
}

AboutDialog::~AboutDialog()
{
    delete ui;
}
